package com.eric.domain.po;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 设备转移登记表
 * </p>
 *
 * @author 新哥
 * @since 2024-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("equip_transfer")
public class EquipTransfer implements Serializable {
    private static final long serialVersionUID = 1L;

//   主键id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

     @TableField(value = "equip_id")
    private Integer equipId;

//   设备名称
    @TableField("eq_name")
    private String eqName;

    @TableField("type_name")
    private String typeName;

//  进出场设备数量
    @TableField("number")
    private Integer number;
//    设备数量单位
    @TableField("pieces")
    private String pieces;

//  表单编码
    @TableField("encode")
    private String encode;

//设备品牌
    @TableField("brand")
    private String brand;

//    设备型号
    @TableField("model")
    private String model;

//  设备接收项目
    @TableField("receiving_project")
    private String receivingProject;

//
    @TableField("sending_project")
    private String sendingProject;


    @TableField("description")
    private String description;


    @TableField("deleted")
    @TableLogic
    private Integer deleted;


    @TableField("version")
    @Version
    private Integer version;


    @TableField("status")
    private Integer status;


    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;


    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


    @TableField("create_by")
    private String createBy;


    @TableField("last_update_by")
    private String lastUpdateBy;


}
